package com.example.boot.dlshop.dao;

import com.example.boot.dlshop.model.DlShop;

public interface DlShopMapper {
    int deleteByPrimaryKey(String id);

    int insert(DlShop record);

    int insertSelective(DlShop record);

    DlShop selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(DlShop record);

    int updateByPrimaryKey(DlShop record);
    
    /**
     * 根据商品查找商家
     * @param goodsId
     * @return
     */
    DlShop byGoodsIdFindShop(String goodsId);

    
}